<?if(MEMBER):?>
<div id="content" class="home">
    <?
    foreach ($data->CONTENT as $app)
        @include 'apps/'.$app.'/template/_home_content.html';
    ?>
</div>
<div id="aside">
    <?
    foreach ($data->ASIDE as $app)
        @include 'apps/'.$app.'/template/_home_aside.html';
    ?>
</div>
<?else:?>
<div class="home">
    <?
    foreach ($data->HOME as $app)
        @include 'apps/'.$app.'/template/_home.html';
    ?>
</div>
<?endif;?>
<script type="text/javascript"> tool.valuelabels(); tool.tabs(); </script>